<?php 
	$translator = LanguageFactory::getInstance();
?>

<div id="welcome">
   <span id='welcome_msg' class='white'>
   		<?php echo $translator->getTranslation("Welcome");?><br /><br />
   		<a href='/infos' class='custom_btn_blue clean_link white'><?php echo LanguageFactory::getInstance()->getTranslation("More");?></a>
   </span>
</div>
<div id="activity">
	<div id='activity_wrapper'>
		<div class='hr_spacer_left'><hr class='stylize' /></div>
		<div class='activity_msg'><?php echo $translator->getTranslation("Activity");?></div>
		<div class='hr_spacer_right'><hr class='stylize' /></div>
	</div>
	
	<div id='activity_details'>
		<div id='activity_relation'>
			<div id='activity_relation_image' class='circle_relation'></div><br/>
			<div id='activity_relation_label'><?php echo $translator->getTranslation("ActivityRelation"); ?></div>
		</div>
		<div id='activity_ondemand'>
			<div id='activity_ondemand_image' class='circle_ondemand'></div><br/>
			<div id='activity_ondemand_label'><?php echo $translator->getTranslation("ActivityOnDemand"); ?></div>
		</div>
	</div>
</div>
<div id="submission">
	<div id='submission_wrapper'>
		<div class='hr_spacer_left'><hr class='stylize' /></div>
		<div class='submission_msg'><?php echo $translator->getTranslation("Submission");?></div>
		<div class='hr_spacer_right'><hr class='stylize' /></div>
	</div>
	<div id='submission_message'>
		<?php echo $translator->getTranslation("SubmissionMessage"); ?>
	</div>
	<div id='submission_offers'>
		<span id='submission_1' class='submission_item'>
			<div class='submission_spacer bg_black'></div>
			<div class='white_space_submission'></div>
			<div id='' class='circle_clear bg_black white'><span class='circle_content size40'><?php echo $translator->getTranslation("SubmissionAmount1")."<sup class='exposant'>".ConfigFactory::getInstance()->getConfig()->application->currency."</sup>"; ?></span></div>
			<div class='dark_grey submission_desc'><?php echo $translator->getTranslation("SubmissionOffer1"); ?></div>
		</span>
		<span id='submission_2' class='submission_item'>
			<div class='submission_spacer bg_black'></div>
			<div class='white_space_submission'></div>
			<div id='' class='circle_clear bg_black white'><span class='circle_content size40'><?php echo $translator->getTranslation("SubmissionAmount2")."<sup class='exposant'>".ConfigFactory::getInstance()->getConfig()->application->currency."</sup>"; ?></span></div>
			<div class='dark_grey submission_desc'><?php echo $translator->getTranslation("SubmissionOffer2"); ?></div>
		</span>
		<span id='submission_3' class='submission_item'>
			<div class='submission_spacer bg_black'></div>
			<div class='white_space_submission'></div>
			<div id='' class='circle_clear bg_black white'><span class='circle_content size40'><?php echo $translator->getTranslation("SubmissionAmount3")."<sup class='exposant'>".ConfigFactory::getInstance()->getConfig()->application->currency."</sup>"; ?></span></div>
			<div class='dark_grey submission_desc'><?php echo $translator->getTranslation("SubmissionOffer3"); ?></div>
		</span>
		<span id='submission_4' class='submission_item'>
			<div class='submission_spacer bg_customblue'></div>
			<div class='white_space_submission'></div>
			<div id='' class='circle_clear bg_customblue white'><span class='circle_content size40'><?php echo $translator->getTranslation("SubmissionAmount4")."<sup class='exposant'>".ConfigFactory::getInstance()->getConfig()->application->currency."</sup>"; ?></span></div>
			<div class='dark_grey submission_desc'><?php echo $translator->getTranslation("SubmissionOffer4"); ?></div>
		</span>
	</div>
</div>
<div id='contact_container'>
	<span id='contact_message'><?php echo $translator->getTranslation("MACContact")." - <a class='clean_link_blue underline' href='mailto:".ConfigFactory::getInstance()->getConfig()->application->owner->email."' >".$translator->getTranslation("Email")."</a>"; ?></span>
</div>

<div id="dialog-confirm" class='mac_popup' style='display:none' title="<?php echo $translator->getTranslation("Confirm"); ?>">
  <p><?php echo $translator->getTranslation("ConfirmSubmission"); ?></p>
</div>
<div id="dialog-success" class='mac_popup' style='display:none' title="<?php echo $translator->getTranslation("Success"); ?>">
  <?php echo $translator->getTranslation("SubmissionSuccess"); ?>
</div>
<div id="dialog-error" class='mac_popup' style='display:none' title="<?php echo $translator->getTranslation("Error"); ?>">
  <?php 
  	$tmp = $translator->getTranslation("SubmissionError"); 
  	$tmp = str_replace("%CONTACT%", ConfigFactory::getInstance()->getConfig()->application->owner->email, $tmp);
  	echo $tmp;
  ?>
</div>

